from rest_framework.routers import SimpleRouter
from .views import BannerViewSet,Notice
from django.urls import path, include
router = SimpleRouter()
router.register('banner', BannerViewSet, 'banner')



urlpatterns = [
    path('notice/', Notice.as_view()),
]

urlpatterns += router.urls
